<!DOCTYPE html>


<html lang="zh-CN">


<head>
  <meta charset="utf-8" />
  <meta name="baidu_union_verify" content="0423ec0cdca4f8eebe6e059172fc0e94">
  <meta name="baidu-site-verification" content="code-pR8Cu8CCAR" />
  <meta name="google-site-verification" content="kPx7uwBYN8ZNVw-1hPQgk5yziYYGu7ZawLlYvgTblwQ" />
  <meta name="sogou_site_verification" content="bt3Su26Lme"/>
  <meta name="360-site-verification" content="73ba99e99d3fc1e5f8a37d8c1d998703" />
   
  <meta name="keywords" content="LIEFox,liefox,liefox拾柒,LIEFox拾柒,编程笔记,JAVA,前端" />
   
  <meta name="description" content="LIEFox一个有趣又好玩的学习编程网站" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>
    HTML高级标签 |  LIEFox
  </title>
  <meta name="generator" content="hexo-theme-ayer">
  
  <link rel="shortcut icon" href="/favicon.ico" />
  
  
<link rel="stylesheet" href="/dist/main.css">

  
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/css/remixicon.min.css">

  
<link rel="stylesheet" href="/css/custom.css">

  
  
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>

  
  

  
<script>
var _hmt = _hmt || [];
(function() {
	var hm = document.createElement("script");
	hm.src = "https://hm.baidu.com/hm.js?70837313b75a2b48b1e427bcabe5c0d9";
	var s = document.getElementsByTagName("script")[0]; 
	s.parentNode.insertBefore(hm, s);
})();
</script>



<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>

<!-- 封面标闪烁 -->
<link rel="stylesheet" href="/css/zhyBlogTitle.css">

<!-- Highlight.js -->
<link href="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.18.1/styles/a11y-dark.min.css" rel="stylesheet">
<script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

</head>

</html>

<body>
  <div id="app">
    
      
      <canvas width="1777" height="841"
        style="position: fixed; left: 0px; top: 0px; z-index: 99999; pointer-events: none;"></canvas>
      
    <main class="content on">
      <section class="outer">
  <article
  id="post-HTML高级标签"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h1 class="article-title sea-center" style="border-left:0" itemprop="name">
  HTML高级标签
</h1>
 

    </header>
     
    <div class="article-meta">
      <a href="/posts/715f780f.html" class="article-date">
  <time datetime="2020-12-21T16:00:00.000Z" itemprop="datePublished">2020-12-22</time>
</a> 
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/">前端笔记</a>
  </div>
  
<div class="word_count">
    <span class="post-time">
        <span class="post-meta-item-icon">
            <i class="ri-quill-pen-line"></i>
            <span class="post-meta-item-text"> 字数统计:</span>
            <span class="post-count">1.4k</span>
        </span>
    </span>

    <span class="post-time">
        &nbsp; | &nbsp;
        <span class="post-meta-item-icon">
            <i class="ri-book-open-line"></i>
            <span class="post-meta-item-text"> 阅读时长≈</span>
            <span class="post-count">5 分钟</span>
        </span>
    </span>
</div>
 
    </div>
      
    <div class="tocbot"></div>




  
    <div class="article-entry" itemprop="articleBody">
       
  <p><a href="https://cxq21.gitee.io/posts/715f780f.html"><img src="https://s3.ax1x.com/2021/01/09/sM0OXR.png" alt="sM0OXR.png" style="zoom:25%;" /></a></p>
<a id="more"></a>

<h1 id="HTML高级标签"><a href="#HTML高级标签" class="headerlink" title="HTML高级标签"></a>HTML高级标签</h1><h1 id="无序列表"><a href="#无序列表" class="headerlink" title="无序列表"></a>无序列表</h1><p>无序列表在网页中运用的最多的就是导航栏</p>
<p><a target="_blank" rel="noopener" href="https://imgchr.com/i/sFzMN9"><img src="https://s3.ax1x.com/2021/01/05/sFzMN9.md.png" alt="sFzMN9.md.png"></a></p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">ul</span> <span class="attr">type</span>=<span class="string">&quot;circle&quot;</span>&gt;</span></span><br><span class="line">			<span class="tag">&lt;<span class="name">li</span>&gt;</span>1<span class="tag">&lt;/<span class="name">li</span>&gt;</span></span><br><span class="line">			<span class="tag">&lt;<span class="name">li</span>&gt;</span>2<span class="tag">&lt;/<span class="name">li</span>&gt;</span></span><br><span class="line">			<span class="tag">&lt;<span class="name">li</span>&gt;</span>3<span class="tag">&lt;/<span class="name">li</span>&gt;</span></span><br><span class="line">			<span class="tag">&lt;<span class="name">li</span>&gt;</span>4<span class="tag">&lt;/<span class="name">li</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">ul</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p><code>&lt;ul&gt;</code>可以给他添加属性，常用的是更换前面的空心圆（circle）</p>
<ul type="circle">
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
</ul>

<p>实心圆：</p>
<ul type="disc">
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
</ul>

<p>方块：</p>
<ul type="square">
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
        </ul>

<h1 id="有序列表"><a href="#有序列表" class="headerlink" title="有序列表"></a>有序列表</h1><p><code>&lt;ol&gt;</code>标签中可以给列表设置type属性，倒序属性等等</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">ol</span> <span class="attr">type</span> =<span class="string">&quot;1&quot;</span>&gt;</span></span><br><span class="line">	<span class="tag">&lt;<span class="name">li</span>&gt;</span>Coffee<span class="tag">&lt;/<span class="name">li</span>&gt;</span></span><br><span class="line">	<span class="tag">&lt;<span class="name">li</span>&gt;</span>Milk<span class="tag">&lt;/<span class="name">li</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">ol</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p><code>&lt;ol type =&quot;1&quot;&gt;</code>有序列表排序根据阿拉伯数字</p>
<p>举个栗子：</p>
<ol type ="1">
    <li>Coffee</li>
    <li>Milk</li>
</ol>

<p>也可以设置成大小写英文字母A/a</p>
<ol type ="a">
    <li>Coffee</li>
    <li>Milk</li>
</ol>

<p>也可罗马数字 i</p>
<ol type ="i">
    <li>Coffee</li>
    <li>Milk</li>
    <li>Spring</li>
</ol>

<p>倒序属性：</p>
<p><code>&lt;ol type =&quot;1&quot; reversed=&quot;reversed&quot;&gt;</code>type属性都可，就举阿拉伯数字为例。</p>
<p>效果：</p>
<ol type ="1" reversed="reversed">
    <li>Coffee</li>
    <li>Milk</li>
    <li>Spring</li>
</ol>

<h1 id="lt-img-gt-图片标签"><a href="#lt-img-gt-图片标签" class="headerlink" title="&lt;img&gt;图片标签"></a><code>&lt;img&gt;</code>图片标签</h1><figure class="highlight html"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">img</span> <span class="attr">src</span>=<span class="string">&quot;https://s3.ax1x.com/2020/11/27/DDAP1I.png&quot;</span> <span class="attr">alt</span>=<span class="string">&quot;LIEFox的LOGO&quot;</span> <span class="attr">title</span>=<span class="string">&quot;XXX&quot;</span> /&gt;</span></span><br></pre></td></tr></table></figure>

<p>代码的效果：<img src="https://s3.ax1x.com/2020/11/27/DDAP1I.png" alt="这是一张照片"  /></p>
<p><code>img</code>标签顾名思义用于网页插入图片的标签，其中常用的设置属性值有 </p>
<p><code>src</code>：图片路径，可以是网上图片的url，比如上面的代码块src引用的照片地址；也可以是本地照片的绝对路径|相对路径。</p>
<p><code>alt</code>：他的作用是用于当图片出错时，展现给用户的一个图片的描述信息，</p>
<p>​        举个栗子：</p>
<img src="DDAP1I.png" alt="LIEFox的LOGO" />

<p><code>title</code>可以当用户鼠标悬停在照片上时，会显示图片信息（彩蛋），你可以尝试一下，鼠标悬停在图片上。</p>
<img src="https://s3.ax1x.com/2020/11/27/DDAP1I.png" alt="LIEFox的LOGO" title="LIEFox牛逼" />

<h1 id="lt-a-gt-超链接标签（锚标签）"><a href="#lt-a-gt-超链接标签（锚标签）" class="headerlink" title="&lt;a&gt;超链接标签（锚标签）"></a><code>&lt;a&gt;</code>超链接标签（锚标签）</h1><h2 id="1-超链接作用："><a href="#1-超链接作用：" class="headerlink" title="1.超链接作用："></a>1.超链接作用：</h2><p>源码：</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">a</span> <span class="attr">href</span>=<span class="string">&quot;cxq21.gitee.io&quot;</span>&gt;</span>LIEFox网站 点我试试<span class="tag">&lt;/<span class="name">a</span>&gt;</span></span><br></pre></td></tr></table></figure>

<h3 id="实例：LIEFox网站-点我试试"><a href="#实例：LIEFox网站-点我试试" class="headerlink" title="实例：LIEFox网站 点我试试"></a>实例：<a href="https://cxq21.gitee.io">LIEFox网站 点我试试</a></h3><p>其中可以设置的属性有：<code>target</code> 可以设置点击超链接时打开的是自身这个页面还是要浏览器新开一个标签页浏览。</p>
<p><code>target=&quot;_blank&quot;</code>新开一个标签页浏览网页</p>
<p><a href="https://cxq21.gitee.io" target="_blank">LIEFox网站  点我试试</a></p>
<p><code>target=&quot;_self&quot;</code>在本身的标签页浏览网页</p>
<p><a href="https://cxq21.gitee.io" target="_self">LIEFox网站  点我试试</a></p>
<h2 id="2-创建发送邮箱，拨打电话"><a href="#2-创建发送邮箱，拨打电话" class="headerlink" title="2.创建发送邮箱，拨打电话"></a>2.创建发送邮箱，拨打电话</h2><p>如果 <code>href</code>中填的是邮箱，当点击时，电脑端或手机端会自动调用邮件，</p>
<p>源码：</p>
<figure class="highlight routeros"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&lt;a <span class="attribute">href</span>=<span class="string">&quot;mailto:2606097218@qq.com&quot;</span> <span class="attribute">target</span>=<span class="string">&quot;_blank&quot;</span>&gt;mail我&lt;/a&gt;</span><br></pre></td></tr></table></figure>

<h3 id="点击试试：mail我"><a href="#点击试试：mail我" class="headerlink" title="点击试试：mail我"></a>点击试试：<a href="mailto:2606097218@qq.com" target="_blank">mail我</a></h3><h3 id="其实a标签在这方面用的最多的也是最常见的是美团外卖，我们点击商家电话时，会自动跳到拨号界面，而且商家的电话号码也会呈现在拨号界面，-仅手机端"><a href="#其实a标签在这方面用的最多的也是最常见的是美团外卖，我们点击商家电话时，会自动跳到拨号界面，而且商家的电话号码也会呈现在拨号界面，-仅手机端" class="headerlink" title="其实a标签在这方面用的最多的也是最常见的是美团外卖，我们点击商家电话时，会自动跳到拨号界面，而且商家的电话号码也会呈现在拨号界面，**(仅手机端)**"></a>其实a标签在这方面用的最多的也是最常见的是美团外卖，我们点击商家电话时，会自动跳到拨号界面，而且商家的电话号码也会呈现在拨号界面，**(仅手机端)**</h3><p>源码：</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">a</span> <span class="attr">href</span>=<span class="string">&quot;tel:15270055490&quot;</span> <span class="attr">target</span>=<span class="string">&quot;_blank&quot;</span>&gt;</span>call me<span class="tag">&lt;/<span class="name">a</span>&gt;</span></span><br></pre></td></tr></table></figure>

<h3 id="快用手机点击试一下：call-me"><a href="#快用手机点击试一下：call-me" class="headerlink" title="快用手机点击试一下：call me"></a>快用手机点击试一下：<a href="tel:15270055490" target="_blank">call me</a></h3><h2 id="3-超链接也叫为锚点"><a href="#3-超链接也叫为锚点" class="headerlink" title="3.超链接也叫为锚点"></a>3.超链接也叫为锚点</h2><p>为什么叫锚点呢？一般用于网页的目录，如果你是电脑端访问本站，你应该可以看见LIEFox网页右侧有一个悬浮目录的功能，当你点击了其中一个小标题，你将会跳到文章相应位置。</p>
<p>源码：</p>
<p>定义一个 <code>p</code>标签 <code>id</code>设置为”无序列表”,这样相当于给他添加了一个锚点，</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">p</span> <span class="attr">id</span>=<span class="string">&quot;无序列表&quot;</span>&gt;</span>无序列表<span class="tag">&lt;/<span class="name">p</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p>当用户点击链接时，就会跳到 “无序列表” 这个标题。</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">a</span> <span class="attr">href</span>=<span class="string">&quot;#无序列表&quot;</span> &gt;</span>无序列表<span class="tag">&lt;/<span class="name">a</span>&gt;</span></span><br></pre></td></tr></table></figure>

<h3 id="点击超链接试试：无序列表"><a href="#点击超链接试试：无序列表" class="headerlink" title="点击超链接试试：无序列表"></a>点击超链接试试：<a href="#无序列表" >无序列表</a></h3><h2 id="4-补充黑科技"><a href="#4-补充黑科技" class="headerlink" title="4.补充黑科技"></a>4.补充黑科技</h2><p>在 <code>href</code>中可以填入协议限定符，说的可能有点不太好理解，那么，我们将写一个无限弹窗脚本；</p>
<p>说白了就是这里面herf里面写JavaScript代码。</p>
<p>源码：</p>
<figure class="highlight dust"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="xml"><span class="tag">&lt;<span class="name">a</span> <span class="attr">href</span>=<span class="string">&quot;javascript:while(1)</span></span></span><span class="template-variable">&#123;alert(&#x27;LIEFox诚邀你加入我们&#x27;)&#125;</span><span class="xml"><span class="tag"><span class="string">&quot;</span> &gt;</span>恭喜你中了100万现金大奖<span class="tag">&lt;/<span class="name">a</span>&gt;</span></span></span><br></pre></td></tr></table></figure>

<p>效果：</p>
<h3 id="恭喜你中了100万现金大奖-不点点！😏？"><a href="#恭喜你中了100万现金大奖-不点点！😏？" class="headerlink" title="恭喜你中了100万现金大奖    不点点！😏？"></a><a href="javascript:while(1){alert('LIEFox诚邀你加入我们')}" >恭喜你中了100万现金大奖 </a>   不点点！😏？</h3><h1 id="lt-form-gt-标签"><a href="#lt-form-gt-标签" class="headerlink" title="&lt;form&gt;标签"></a><code>&lt;form&gt;</code>标签</h1><p>表单标签，是前端与后端交互数据的最常见的方法，比如用户注册，登录，搜索等等。</p>
<figure class="highlight pgsql"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">&lt;form <span class="keyword">method</span>=&quot;get&quot; action=&quot;#&quot;&gt;</span><br><span class="line">	&lt;p&gt;</span><br><span class="line">		用户名：&lt;<span class="keyword">input</span> <span class="keyword">type</span>=&quot;text&quot; <span class="type">name</span>=&quot;username&quot;/&gt;</span><br><span class="line">	&lt;/p&gt;</span><br><span class="line">	&lt;p&gt;</span><br><span class="line">		密  码：&lt;<span class="keyword">input</span> <span class="keyword">type</span>=&quot;password&quot; <span class="type">name</span>=&quot;password&quot;/&gt;记住密码&lt;<span class="keyword">input</span> <span class="keyword">type</span>=&quot;radio&quot;/&gt;</span><br><span class="line">	&lt;/p&gt;</span><br><span class="line">	&lt;<span class="keyword">input</span> <span class="keyword">type</span>=&quot;submit&quot; <span class="keyword">value</span>=&quot;登录&quot;/&gt;</span><br><span class="line"></span><br><span class="line">&lt;/form&gt;</span><br></pre></td></tr></table></figure>

<p>效果：</p>
<form method="get" action="#">
            <p>
                用户名：<input type="text" name="username"/>
            </p>
            <p>
                密  码：<input type="password" name="password"/>记住密码<input type="radio"/>
            </p>
            <input type="submit" value="登录"/>
</form>

<p><code>&lt;form&gt;</code>标签内可以填的属性有<code>method</code>里面的属性有 get、post。是发送数据的方式。</p>
<p>一对form标签中可以填<code>&lt;input type=&quot;text&quot;/&gt;</code>type中可以填 text、password、radio、checkbox等等。</p>
<p><code>text</code>：是文本域标签，明文，用户填入可以看见内容。效果：用户名：<input type="text" name="username"/></p>
<p><code>password</code>：是密码标签，密文，用户填入不可以看见内容。效果：密码：<input type="password" name="password"/></p>
<p><code>radio</code>：单选按钮，效果：记住密码<input type="radio"/></p>
<p><code>checkbox</code>：多选按钮，效果：</p>
<p>可乐<input type="checkbox"/></p>
<p>雪碧<input type="checkbox"/></p>
<p>牛奶<input type="checkbox"/></p>
<p>单选、多选按钮中还可以添加默认选择属性：<code>checked=&quot;checked&quot;</code></p>
<figure class="highlight fsharp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">可乐&lt;input <span class="class"><span class="keyword">type</span></span>=<span class="string">&quot;checkbox&quot;</span> checked=<span class="string">&quot;checked&quot;</span> /&gt;</span><br><span class="line"></span><br><span class="line">雪碧&lt;input <span class="class"><span class="keyword">type</span></span>=<span class="string">&quot;checkbox&quot;</span>/&gt;</span><br><span class="line"></span><br><span class="line">牛奶&lt;input <span class="class"><span class="keyword">type</span></span>=<span class="string">&quot;checkbox&quot;</span>/&gt;</span><br></pre></td></tr></table></figure>

<p>效果：</p>
<p>可乐<input type="checkbox" checked="checked" /></p>
<p>雪碧<input type="checkbox"/></p>
<p>牛奶<input type="checkbox"/></p>
<h1 id="select组件"><a href="#select组件" class="headerlink" title="select组件"></a>select组件</h1><p>select被用做于下拉菜单</p>
<p>代码：</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">select</span>&gt;</span></span><br><span class="line">	<span class="tag">&lt;<span class="name">option</span>&gt;</span>北京<span class="tag">&lt;/<span class="name">option</span>&gt;</span></span><br><span class="line">	<span class="tag">&lt;<span class="name">option</span>&gt;</span>上海<span class="tag">&lt;/<span class="name">option</span>&gt;</span></span><br><span class="line">	<span class="tag">&lt;<span class="name">option</span>&gt;</span>江西<span class="tag">&lt;/<span class="name">option</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">select</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p>效果：</p>
<select>
                <option>北京</option>
                <option>上海</option>
                <option>江西</option>
            </select>

<hr>
<p>作者：<em>zjh</em></p>
 
      <!-- reward -->
      
      <div id="reword-out">
        <div id="reward-btn">
          打赏
        </div>
      </div>
      
    </div>
    

    <!-- copyright -->
    
    <div class="declare">
      <ul class="post-copyright">
        <li>
          <i class="ri-copyright-line"></i>
          <strong>版权声明： </strong>
          
          本网站所有文章除特别声明外，著作权归作者所有。转载请注明出处！
          
        </li>
      </ul>
    </div>
    
    <footer class="article-footer">
       
<div class="share-btn">
      <span class="share-sns share-outer">
        <i class="ri-share-forward-line"></i>
        分享
      </span>
      <div class="share-wrap">
        <i class="arrow"></i>
        <div class="share-icons">
          
          <a class="weibo share-sns" href="javascript:;" data-type="weibo">
            <i class="ri-weibo-fill"></i>
          </a>
          <a class="weixin share-sns wxFab" href="javascript:;" data-type="weixin">
            <i class="ri-wechat-fill"></i>
          </a>
          <a class="qq share-sns" href="javascript:;" data-type="qq">
            <i class="ri-qq-fill"></i>
          </a>
          <a class="douban share-sns" href="javascript:;" data-type="douban">
            <i class="ri-douban-line"></i>
          </a>
          <!-- <a class="qzone share-sns" href="javascript:;" data-type="qzone">
            <i class="icon icon-qzone"></i>
          </a> -->
          
          <a class="facebook share-sns" href="javascript:;" data-type="facebook">
            <i class="ri-facebook-circle-fill"></i>
          </a>
          <a class="twitter share-sns" href="javascript:;" data-type="twitter">
            <i class="ri-twitter-fill"></i>
          </a>
          <a class="google share-sns" href="javascript:;" data-type="google">
            <i class="ri-google-fill"></i>
          </a>
        </div>
      </div>
</div>

<div class="wx-share-modal">
    <a class="modal-close" href="javascript:;"><i class="ri-close-circle-line"></i></a>
    <p>扫一扫，分享到微信</p>
    <div class="wx-qrcode">
      <img src="//api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://cxq21.gitee.io/posts/715f780f.html" alt="微信分享二维码">
    </div>
</div>

<div id="share-mask"></div>  
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/" rel="tag">前端笔记</a></li></ul>

    </footer>
  </div>

   
  <nav class="article-nav">
    
      <a href="/posts/bdfde94f.html" class="article-nav-link">
        <strong class="article-nav-caption">上一篇</strong>
        <div class="article-nav-title">
          
            Java程序基础
          
        </div>
      </a>
    
    
      <a href="/posts/78a19d7.html" class="article-nav-link">
        <strong class="article-nav-caption">下一篇</strong>
        <div class="article-nav-title">VIP电影</div>
      </a>
    
  </nav>

  
      
<!-- minivaline评论 -->
<div id="mvcomments-box">
  <div id="mvcomments"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/minivaline@3/dist/MiniValine.min.js"></script>
<script>
    new MiniValine({
        el: '#mvcomments',
        appId: 'lGCocPMCSUz2tL4FcKDvFCG3-gzGzoHsz',
        appKey: 'VheJztjyMzs24xKQPGGI1bmh',
        mode: 'xCss',
        placeholder: '评论的时候建议填上您的邮箱，可以第一时间收到我的回复喔',
        pathname: window.location.pathname,
        lang: '',
        adminEmailMd5: '69b690b67d0fb9dba8ab2de5db6dd353',
        tagMeta: ["LIEFox站长", "小伙伴", "来将可留姓名"],
        master: ["69b690b67d0fb9dba8ab2de5db6dd353"],
        friends: ["1f7c8b18fb7bbe18fbaf97309de2c0ac", "e5aec373ad8a0dce7abdbe4e6585a8ba"],
        math: true,
        md: true,
        enableQQ: true,
        NoRecordIP: true,
        visitor: false,
        maxNest: 6,
        pageSize: 6,
        serverURLs: '',
        emoticonUrl: ["https://cdn.jsdelivr.net/npm/alus@latest", "https://cdn.jsdelivr.net/gh/MiniValine/qq@latest", "https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest", "https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest", "https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest", "https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest"],
    });
  const infoEle = document.querySelector('#mvcomments .info');
  if (infoEle && infoEle.childNodes && infoEle.childNodes.length > 0) {
      infoEle.childNodes.forEach(function (item) {
          item.parentNode.removeChild(item);
      });
  }
</script>
<style>
	#mvcomments-box {
	padding: 5px 30px;
	}

	@media screen and (max-width: 800px) {
	#mvcomments-box {
	  padding: 5px 0px;
	}
	}

	.v .vlist .vcard .vh {
	padding-right: 20px;
	}

	.v .vlist .vcard {
	padding-left: 10px;
	}
	
	.darkmode .commentTrigger{
		background-color: #403e3e !important;
	  }
	.darkmode .MiniValine .vpage .more{
		background: #21232F
	}
	.darkmode img{
		  filter: brightness(30%)
	}
	.darkmode .MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:before{
		background: linear-gradient(180deg, rgba(246,246,246,0), rgba(0,0,0,0.9))
	}
	.darkmode .MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:after{
		background: rgba(0,0,0,0.9)
	}
	.darkmode .MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment pre{
		background: #282c34
		border: 1px solid #282c34
	}
	.darkmode .MiniValine .vinputs-area .textarea-wrapper textarea{
		color: #000;
	}
	.darkmode .MiniValine .vinputs-area .auth-section .input-wrapper input{
		color: #000;
	}
	.darkmode .MiniValine .info .col .count{
		color: #000;
	}
	.darkmode .MiniValine .vinputs-area .vextra-area .vsmile-icons{
		background: transparent;
	}
</style>

 
</article>

</section>
      <footer class="footer">
  <div class="outer">
<!-- 运行天数 -->
    <ul>
        <li><span id="runtime_span"></span></li>
    </ul>

<script type="text/javascript">            
    function show_runtime() {
        window.setTimeout("show_runtime()", 1000);
        X = new Date("11/27/2020 17:17:17");
        Y = new Date();
        T = (Y.getTime() - X.getTime());
        M = 24 * 60 * 60 * 1000;
        a = T / M;
        A = Math.floor(a);
        b = (a - A) * 24;
        B = Math.floor(b);
        c = (b - B) * 60;
        C = Math.floor((b - B) * 60);
        D = Math.floor((c - C) * 60);
        runtime_span.innerHTML = "LIEFox逃脱猎人的第" + A + "天" + B + "小时" + C + "分" + D + "秒"
    }
    show_runtime();
</script>

    <ul>
      <li>
        Copyrights &copy;
        2020-2023
        <i class="ri-heart-fill heart_icon"></i> 拾柒工作室
      </li>
    </ul>


    <ul>
      <li>
        
      </li>
    </ul>
    <ul>
      <li>
        
        
        <span>
  <span><i class="ri-user-3-fill"></i>访问人数:<span id="busuanzi_value_site_uv"></span></s>
  <span class="division">|</span>
  <span><i class="ri-eye-fill"></i>浏览次数:<span id="busuanzi_value_page_pv"></span></span>
</span>
        
      </li>
    </ul>
    <ul>
      
    </ul>
    <ul>
      
    </ul>
    <ul>
      <li>
        <!-- cnzz统计 -->
        
        <script type="text/javascript" src='https://s9.cnzz.com/z_stat.php?id=1279472270&amp;web_id=1279472270'></script>
        
      </li>
    </ul>
  </div>
</footer>
      <div class="float_btns">
        <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>

<div class="todark" id="todark">
  <i class="ri-moon-line"></i>
</div>

      </div>
    </main>
    <aside class="sidebar on">
      <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/LIEFox.png" alt="LIEFox"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/">主页</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">时间线</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories">分类</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags">标签</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/friends">友链</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/dplayer">视频</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/update">更新日志</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/about">关于LIEFox</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="搜索">
        <i class="ri-search-line"></i>
      </a>
      
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
    </aside>
    <script>
      if (window.matchMedia("(max-width: 768px)").matches) {
        document.querySelector('.content').classList.remove('on');
        document.querySelector('.sidebar').classList.remove('on');
      }
    </script>
    <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>感谢金主~</p>
  <div class="reward-box">
    
    
    <div class="reward-item">
      <img class="reward-img" src="/images/wechat.jpg">
      <span class="reward-type">微信</span>
    </div>
    
  </div>
</div>
    
<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/lazyload.min.js"></script>

<!-- Tocbot -->


<script src="/js/tocbot.min.js"></script>

<script>
  tocbot.init({
    tocSelector: '.tocbot',
    contentSelector: '.article-entry',
    headingSelector: 'h1, h2, h3, h4, h5, h6',
    hasInnerContainers: true,
    scrollSmooth: true,
    scrollContainer: 'main',
    positionFixedSelector: '.tocbot',
    positionFixedClass: 'is-position-fixed',
    fixedSidebarOffset: 'auto'
  });
</script>

<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>

<script src="/dist/main.js"></script>

<!-- ImageViewer -->

<!-- MathJax -->

<!-- Katex -->

<!-- busuanzi  -->


<script src="/js/busuanzi-2.3.pure.min.js"></script>


<!-- ClickLove -->

<!-- ClickBoom1 -->

<!-- ClickBoom2 -->


<script src="/js/clickBoom2.js"></script>


<!-- CodeCopy -->


<link rel="stylesheet" href="/css/clipboard.css">

<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script>
  function wait(callback, seconds) {
    var timelag = null;
    timelag = window.setTimeout(callback, seconds);
  }
  !function (e, t, a) {
    var initCopyCode = function(){
      var copyHtml = '';
      copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
      copyHtml += '<i class="ri-file-copy-2-line"></i><span>COPY</span>';
      copyHtml += '</button>';
      $(".highlight .code pre").before(copyHtml);
      $(".article pre code").before(copyHtml);
      var clipboard = new ClipboardJS('.btn-copy', {
        target: function(trigger) {
          return trigger.nextElementSibling;
        }
      });
      clipboard.on('success', function(e) {
        let $btn = $(e.trigger);
        $btn.addClass('copied');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-checkbox-circle-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPIED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-checkbox-circle-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
      clipboard.on('error', function(e) {
        e.clearSelection();
        let $btn = $(e.trigger);
        $btn.addClass('copy-failed');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-time-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPY FAILED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-time-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
    }
    initCopyCode();
  }(window, document);
</script>


<!-- CanvasBackground -->


<script src="/js/dz.js"></script>



    
  </div>
</body>

</html>